{include admin.inc.header}

{include admin.inc.top}

<div class="container-fluid content-body">
	<div class="main">
		{include admin.inc.menu}

		<section class="right-section" id="right-section">
			<!-- start of inner-frame -->
			<div class="inner-iframe">

				<ul class="breadcrumb">
					<li>
						<i class="glyphicon glyphicon-home"></i>
						<span>当前位置：</span>
						<a href="#">{$breadcrumb[0]}</a>
						<i class="glyphicon glyphicon-chevron-right"></i>
						<a href="#">{$breadcrumb[1]}</a>
					</li>
				</ul>


				<div class="inner-container">

					<form id="J_List_Form" autocomplete="off">
						<div class="table-responsive">
							<table class="table table-bordered table-hover" id="J_List_Table">
								<thead>
								<tr>
									<th width="20"><input type="checkbox" class="icheck check-all" /></th>
									<th>品名/厂家/牌号</th>
									<th>供应单价(元/吨)</th>
									<th>供应数量(吨)</th>
								</tr>
								</thead>
								<tbody>
								{if empty($result['items'])}
								<tr>
									<td class="no-records text-center">{$noRecords}</td>
								</tr>
								{/if}
								{loop $result['items'] $value}
								<tr>
									<td><input type="checkbox" class="icheck" name="ids[]" id="checkbox_row_{$value[id]}" /></td>
									<td>{$value[product_name]}/{$value[factory_name]}/{$value[brand_name]}</td>
									<td>{$value[sales_price]}</td>
									<td>{$value[quantity]}</td>
								</tr>
								{/loop}
								</tbody>
							</table>
						</div>
					</form>
					<div>

						<label>日期：</label>{$result[head]['addtime']}<br>
						<label>联系人：</label>{$result[head]['contact']}<br>
						<label>电话：</label>{$result[head]['contact_mobile']}<br>
						<label>交货地：</label>{$result[head]['delivery_place']}<br>

					</div>

					<div class="text-right">
						{$pagemenu}
					</div>

				</div>

			</div><!-- end of inner -->
		</section>

	</div>
</div>

{include admin.inc.footer}

<script>
	seajs.use("manager", function(exports) {
		exports.init({
			set_url : '/admin/manager/set/'
		});
	});
</script>
</body>
</html>
